package cn.lg.soar.database.base.model;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Set;

/**
 * 更新禁用vo类
 * @author luguoxiang
 * @date 2021/9/25
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
@Setter
public class UpdateDisabledVo {

    @Schema(description = "id集合")
    @NotEmpty(message = "ids必填")
    private Set<Serializable> ids;

    @Schema(description = "是否禁用")
    @NotNull(message = "是否禁用必填")
    private Boolean disabled;

}
